package com.ilearn.iodata.iolingo.service.processor.core.processor;

import com.ilearn.iodata.iolingo.service.processor.core.api.GenericODataRequestContextAccess;
import com.ilearn.iodata.iolingo.service.processor.core.serializer.GenericSerializer;
import org.apache.olingo.server.api.uri.UriInfo;


public final class GenericRequestContext implements GenericODataRequestContextAccess {
  private final UriInfo uriInfo;
  private final GenericSerializer serializer;

  public GenericRequestContext(final UriInfo uriInfo, final GenericSerializer serializer) {
    super();
    this.uriInfo = uriInfo;
    this.serializer = serializer;
  }


  @Override
  public UriInfo getUriInfo() {
    return uriInfo;
  }

  @Override
  public GenericSerializer getSerializer() {
    return serializer;
  }

}
